package com.uobgroup.cmt.conversion;

import org.apache.log4j.Logger;

import com.uobgroup.cmt.base.dao.IBaseEntityDao;
import com.uobgroup.cmt.base.exception.BaseException;
import com.uobgroup.cmt.base.factory.SpringBeanFactory;
import com.uobgroup.cmt.conversion.model.target.SmlCollateralModel;

public class App007 {
	protected static Logger logger = Logger.getLogger(App007.class);

	/**
	 * @param args
	 * @throws BaseException 
	 */
	@SuppressWarnings("unchecked")
	public static void main(String[] args) throws BaseException {
		IBaseEntityDao<SmlCollateralModel> collateralDao = (IBaseEntityDao<SmlCollateralModel>) SpringBeanFactory.getInstance().getBean("smlCollateralDao");
		System.out.println(System.currentTimeMillis());
		collateralDao.executeForRow();
		System.out.println(System.currentTimeMillis());
	}

}
